package com.cq.designPattern.stateModel;

public class Client {
    public static void main(String[] args) {
        Context context = new Context();
        context.setBill(11.0);
        System.out.println("话费余额："+context.getBill());
        context.handle();

        context.setBill(-1.50);
        System.out.println("话费余额：" + context.getBill() );
        context.handle();
    }
}
